package com.example.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.demo.entity.Knowledge;
import com.example.demo.entity.User;
import com.example.demo.mapper.KnowledgeMapper;
import com.example.demo.mapper.UserMapper;
import com.example.demo.service.IKnowledgeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author demo
 * @since 2025-02-24
 */
@Service
public class KnowledgeServiceImpl extends ServiceImpl<KnowledgeMapper, Knowledge> implements IKnowledgeService {

    @Resource
    private KnowledgeMapper knowledgeMapper;
    @Override
    public IPage pageK(IPage<Knowledge> page, Wrapper wrapper) {
        return knowledgeMapper.pageK(page,wrapper);
    }

}
